package com.yx.xinruitu.lbxupdate.mapper;

import com.yx.xinruitu.entity.Staff;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Wx_StaffMapper {

    Staff isCompletion(@Param("openId") String openId);

    /*插入一条微信用户*/
    int insetStaffOnlyOpenId(Staff staff);

    /*更新一条微信用户*/
    int updateStaff(Staff staff);

    int getCompanyIdByName(@Param("name") String name);

    List<String> getCompany();
}
